<script src="${ctx}/resource/jquery/jquery-1.11.3.min.js"></script>
<script src="${ctx}/resource/amazeuiadmin/assets/js/amazeui.min.js"></script>
<script type="text/javascript">
	function userInfo(){
		layer.open({
			title:'修改用户信息',
		    type: 2,
		    area: ['800px', '600px'],
		    scrollbar: false,
		    content: '${ctx}/admin/sys/user/change_info/',
		    end : function() {
				window.location.reload();
			}
		});
	}
	
	function avatar_update(){
		layer.open({
			title:'修改头像',
		    type: 2,
		    area: ['800px', '600px'],
		    scrollbar: false,
		    content: '${ctx}/admin/sys/user/avatar',
		    end : function() {
				window.location.reload();
			}
		});
	}
</script>